QUERY PLAN
Sort (cost=18.82..18.83 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..18.81 rows=1 width=21)
Filter: ((term_id = 10) AND (id = ANY ('{100,159,45,94,140,2,8,228,128,205,204,171,304,5,1,226,167,172,185,192,184,189,196,308,198,202,191,136,165,319,164,232,324,340,348,349,359,363,369,181}'::integer[])))