QUERY PLAN
Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships (cost=0.29..71.39 rows=2 width=51)
Index Cond: ((object_id = ANY ('{7916,7912,7911,7915,7914,7913,7910}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)