QUERY PLAN
Sort (cost=17.95..17.96 rows=1 width=24)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..17.94 rows=1 width=24)
Filter: ((term_id = 13) AND (id = ANY ('{165,232,1,172,2,5,226,164,142,185,191,184,189,197,199,205,204,196,192,340,348,133,139,129,136,140,349,350,359,369,377}'::integer[])))