QUERY PLAN
Sort (cost=7.12..7.13 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..7.11 rows=1 width=21)
Filter: ((term_id = 10) AND (id = ANY ('{5,165,172}'::integer[])))