QUERY PLAN
Sort (cost=12.81..12.82 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..12.80 rows=1 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{136,139,226,160,184,189,5,215,1,307,203,185,191,2,165,232,265,349,356,369,134}'::integer[])))