QUERY PLAN
Sort (cost=40.89..40.90 rows=2 width=22)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.15..40.88 rows=2 width=22)
Index Cond: (id = ANY ('{101,102,165,179,142,205,45,204,166,128,167,175,100,97,136,105,140,174,5,130,155,320,171,212,172,192,1,2,129,185,191,182,181,196,184,194,211,131,226,173,94,316,93,6,7,199,164,153,189,178,156,231,207,229,224,223,214,8,219,9,208,210,227,216,228,11,209,217,230,218,10,213,221,225,215,222,154,331,137,134,135,139,160,106,114,197,132,177,319,183,340,2100000000,349,317,322,350,359,367,369,373,377,348,324,341}'::integer[]))
Filter: (term_id = 12)