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 = 9) AND (id = ANY ('{5,128,181,184,200,374,129,205,203,341,1,165,135,140,172,197,199,377}'::integer[])))