QUERY PLAN
Sort (cost=34.61..34.61 rows=2 width=21)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.14..34.60 rows=2 width=21)
Index Cond: (id = ANY ('{166,129,180,142,184,189,101,165,179,102,213,6,7,97,46,154,96,196,204,160,212,229,5,2,197,194,128,167,181,135,137,164,139,174,130,158,170,320,94,171,131,175,172,226,1,140,93,11,200,205,185,191,210,227,176,168,153,173,105,178,199,231,207,215,192,8,136,156,198,202,183,317,313,114,112,157,322,316,133,319,2100000000,324,326,340,349,350,359,367,369,373,374,377}'::integer[]))
Filter: (term_id = 12)