QUERY PLAN
Sort (cost=28.94..28.95 rows=2 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..28.93 rows=2 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{46,115,97,165,179,142,197,199,8,185,191,164,1,2,154,7,140,184,189,167,181,155,128,157,224,231,5,207,229,223,214,219,9,208,210,211,226,227,216,6,93,228,11,209,94,217,230,218,10,213,221,225,215,222,192,212,138,139,136,153,160,313,112,315,134,135,137,2100000000,348,349,369,377}'::integer[])))