QUERY PLAN
Sort (cost=39.55..39.56 rows=2 width=22)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.15..39.54 rows=2 width=22)
Index Cond: (id = ANY ('{164,179,142,326,101,197,194,166,167,102,97,165,5,212,107,184,187,199,189,8,1,135,140,160,137,139,136,2,141,6,11,10,226,229,200,93,196,204,327,231,207,224,223,214,219,9,208,210,211,227,7,216,228,209,94,217,230,213,221,225,156,265,138,215,185,191,153,183,232,190,172,130,205,192,340,320,307,203,181,319,114,129,349,350,356,369,371,372,374,377,332,331,323,348,363,367}'::integer[]))
Filter: (term_id = 12)