QUERY PLAN
Sort (cost=10.92..10.92 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..10.91 rows=1 width=22)
Filter: ((term_id = 10) AND (id = ANY ('{1,165,172,185,191,369,349,340}'::integer[])))