QUERY PLAN
Sort (cost=8.70..8.71 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..8.69 rows=1 width=21)
Filter: ((term_id = 10) AND (id = ANY ('{1,165,135,140,172,197,199,377}'::integer[])))