QUERY PLAN
Sort (cost=10.05..10.05 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..10.04 rows=1 width=22)
Filter: ((term_id = 10) AND (id = ANY ('{226,165,142,197,199,377}'::integer[])))