QUERY PLAN
Sort (cost=34.32..34.32 rows=2 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..34.31 rows=2 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{46,2,1,165,179,142,101,164,103,106,115,100,97,136,140,197,194,107,226,169,172,8,185,191,93,94,199,6,153,7,135,205,204,196,166,5,231,207,229,224,223,214,219,9,208,210,211,227,216,228,11,209,217,230,218,10,213,221,225,215,222,319,316,2100000000,311,212,114,184,189,154,139,174,313,112,181,105,183,326,340,349,354,357,359,369,377,133,134,137,160}'::integer[])))