QUERY PLAN
Sort (cost=18.97..18.98 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..18.96 rows=1 width=21)
Filter: ((term_id = 10) AND (id = ANY ('{165,232,172,2,1,5,226,164,142,337,184,189,205,204,196,200,192,185,191,197,199,340,348,133,139,349,350,359,369,377,352,375,356,182}'::integer[])))