[TASK] LiveSearch: Refactor use of queryBuilder to use prepared statements