Convert a loop of queries into a single query with VALUES