QUERY PLAN
Sort (cost=35.93..35.93 rows=2 width=21)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.14..35.92 rows=2 width=21)
Index Cond: (id = ANY ('{182,179,142,46,102,96,165,167,184,189,97,133,140,1,2,5,131,197,199,164,181,153,154,93,94,215,7,174,226,212,155,128,176,172,185,191,200,157,6,229,166,194,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,136,205,203,138,107,105,178,137,139,135,163,156,2100000000,313,317,114,315,232,265,319,305,340,341,349,359,369,373,374,377}'::integer[]))
Filter: (term_id = 12)