QUERY PLAN
Sort (cost=10.13..10.14 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..10.12 rows=1 width=21)
Filter: ((term_id = 10) AND (id = ANY ('{1,2,165,172,196,204,369,340}'::integer[])))