QUERY PLAN
Sort (cost=35.27..35.27 rows=2 width=21)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.14..35.26 rows=2 width=21)
Index Cond: (id = ANY ('{182,179,142,46,102,96,165,167,184,189,97,133,1,2,5,197,199,164,153,181,93,94,215,154,7,174,226,155,212,128,131,176,172,185,191,200,157,6,229,166,224,171,196,204,231,207,223,214,8,219,9,208,210,211,227,216,228,11,209,217,230,218,10,213,221,225,222,130,160,140,136,205,203,138,107,105,178,137,139,135,163,2100000000,313,317,114,315,232,265,305,340,341,349,359,369,374,377}'::integer[]))
Filter: (term_id = 12)