The issue I seem to be having has to do with retool inserting the javascript strings / array in double quotes.
This will work for now but I have to imagine there is a better way.
SELECT
*
FROM
table1
WHERE
(column1 = {{query1.data.queryCell[0].arrayData[0]}}
OR column1 = {{query1.data.queryCell[0].arrayData[1]}}
OR column1 = {{query1.data.queryCell[0].arrayData[2]}}
OR column1 = {{query1.data.queryCell[0].arrayData[3]}}
OR column1 = {{query1.data.queryCell[0].arrayData[4]}}
OR column1 = {{query1.data.queryCell[0].arrayData[5]}}
OR column1 = {{query1.data.queryCell[0].arrayData[6]}}
OR column1 = {{query1.data.queryCell[0].arrayData[7]}}
OR column1 = {{query1.data.queryCell[0].arrayData[8]}}
OR column1 = {{query1.data.queryCell[0].arrayData[9]}})
AND
column2 = {{query1.data.connector_gender[0]}}
ORDER BY column1 ASC;