QUERY PLAN
Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships (cost=0.29..145.74 rows=2 width=111)
Index Cond: ((object_id = ANY ('{7440,7438,7437,7435,7434,7433,7432,7431,7430,7429,7427,7426,7425,7424,7422,7423,7421,7420,7419,7418}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)