QUERY PLAN
Sort (cost=12.18..12.19 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..12.17 rows=1 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{5,2,1,185,309,226,135,140,136,139,184,189,197,199,192,333,348,349,377}'::integer[])))