QUERY PLAN
Sort (cost=37.60..37.61 rows=2 width=22)
Sort Key: sort
-> Bitmap Heap Scan on tbl_term_taxonomies (cost=22.11..37.59 rows=2 width=22)
Recheck Cond: (id = ANY ('{100,96,101,102,165,179,142,184,327,305,198,201,200,8,204,5,153,2,1,229,6,7,208,107,226,94,183,188,190,105,231,207,224,223,214,219,9,210,211,227,216,93,228,11,209,217,230,218,10,213,221,225,215,222,212,164,181,313,197,199,167,172,304,189,265,174,156,332,315,319,323,114,349,353,374,377,369,373,356,433,400,340,133,134,135,136,137,139,438,439,316}'::integer[]))
Filter: (term_id = 12)
-> Bitmap Index Scan on tbl_term_taxonomies_pkey (cost=0.00..22.10 rows=91 width=0)
Index Cond: (id = ANY ('{100,96,101,102,165,179,142,184,327,305,198,201,200,8,204,5,153,2,1,229,6,7,208,107,226,94,183,188,190,105,231,207,224,223,214,219,9,210,211,227,216,93,228,11,209,217,230,218,10,213,221,225,215,222,212,164,181,313,197,199,167,172,304,189,265,174,156,332,315,319,323,114,349,353,374,377,369,373,356,433,400,340,133,134,135,136,137,139,438,439,316}'::integer[]))