QUERY PLAN
Sort (cost=11.86..11.87 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..11.85 rows=1 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{184,189,205,192,1,5,2,135,139,136,196,204,307,203,340,349,350,356}'::integer[])))