QUERY PLAN
Sort (cost=14.71..14.72 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..14.70 rows=1 width=21)
Filter: ((term_id = 10) AND (id = ANY ('{140,5,226,215,164,142,184,189,185,192,200,205,203,199,136,331,341,348,349,374,2,165,172,232,129,128,181}'::integer[])))