QUERY PLAN
Sort (cost=19.77..19.78 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..19.76 rows=1 width=21)
Filter: ((term_id = 9) AND (id = ANY ('{140,5,226,215,160,2,1,229,184,189,165,181,205,199,307,203,196,204,185,191,198,201,308,202,183,190,192,136,164,142,172,129,128,324,327,331,332,340,349,350,356,363,369}'::integer[])))