QUERY PLAN
Sort (cost=10.28..10.29 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..10.27 rows=1 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{136,139,226,1,184,189,5,215,349,2,165,232,265}'::integer[])))