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