QUERY PLAN
Sort (cost=8.07..8.08 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..8.06 rows=1 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{5,226,215,184,189,349}'::integer[])))