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 ('{9016,8923,8922,8921,8920,8916,8861,8860,8859,8858,8857,8856,8855,8854,8853,8852,8851,8850,8849,8848}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)