QUERY PLAN
Sort (cost=10.53..10.54 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..10.52 rows=1 width=22)
Filter: ((term_id = 10) AND (id = ANY ('{2,164,181,185,191,369,349}'::integer[])))