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 ('{160,140,184,189,185,309,183,187,192,191,5,226,1,2,333,348,349,369,372}'::integer[])))