I’m not sure I got the question, but you should use data query.
you didn’t mention if you expect to get only one match or many matches for each query (I’ll assume you only want the first match)
Maybe something like:
import wixData from 'wix-data';
let myTextQuery = "xxxxx";
wixData.query("My collection Name")
.eq("firstTextCol", myTextQuery) // the first element here is the field key, not the field name.
.find()
.then((results) => {
if(results.items.length > 0) {
let item = results.items[0];
let secondText = item.secondTextCol; //the field key of the second column
let thirdText = item.thirdTextCol; //the field key of the third column
}else{
//put here the code you want to execute in case of no match.
}
})