QUERY PLAN
Sort (cost=16.29..16.30 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..16.28 rows=1 width=21)
Filter: ((term_id = 10) AND (id = ANY ('{2,135,140,160,5,1,226,205,199,196,204,130,179,172,129,181,184,200,197,189,167,137,139,165,331,337,340,349,374,377,142,128}'::integer[])))