QUERY PLAN
Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships (cost=0.29..202.91 rows=5 width=51)
Index Cond: ((object_id = ANY ('{8942,8934,8933,8932,8931,8925,8904,8905,8913,8911,8927,8926,8924,8923,8922,8921,8920,8919,8918,8917}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)