QUERY PLAN
Sort (cost=18.29..18.30 rows=1 width=24)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..18.28 rows=1 width=24)
Filter: ((term_id = 13) AND (id = ANY ('{5,130,142,2,1,226,179,184,200,197,199,135,140,308,204,189,164,181,215,160,349,363,374,377,232,356,327,369,357,128,172,165}'::integer[])))