QUERY PLAN
Sort (cost=11.23..11.24 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..11.22 rows=1 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{184,189,5,226,215,160,140,197,199,2,1,349,377,135,134,139}'::integer[])))