QUERY PLAN
Sort (cost=16.29..16.30 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..16.28 rows=1 width=22)
Filter: ((term_id = 12) AND (id = ANY ('{137,140,1,5,226,184,189,197,199,165,142,181,2,183,187,160,349,372,377,348,356,352}'::integer[])))