QUERY PLAN
Sort (cost=20.72..20.73 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..20.71 rows=1 width=21)
Filter: ((term_id = 9) AND (id = ANY ('{135,140,179,2,5,226,215,1,185,191,184,189,200,198,201,308,204,202,205,203,199,197,183,190,187,136,164,181,142,172,130,324,327,331,332,337,341,349,363,369,371,374,377,165,128,129}'::integer[])))