QUERY PLAN
Sort (cost=42.43..42.44 rows=2 width=22)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.15..42.42 rows=2 width=22)
Index Cond: (id = ANY ('{94,99,46,100,101,106,165,179,142,97,45,112,98,8,153,96,196,204,226,182,135,134,137,133,136,139,140,315,130,185,191,155,197,194,170,181,199,205,203,189,5,7,2,6,208,1,320,10,184,128,167,107,265,229,215,156,212,183,200,172,319,105,129,231,207,224,223,214,219,9,210,211,227,216,93,228,11,209,217,230,218,213,221,225,222,232,114,2100000000,333,160,316,336,340,341,346,309,349,322,164,317,305,326,359,369,377,371,350,352,356,374,432,400,386}'::integer[]))
Filter: (term_id = 12)