QUERY PLAN
Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships (cost=0.29..73.24 rows=1 width=111)
Index Cond: ((object_id = ANY ('{7457,5498,5497,5350,5117,2649,2648,2248,2247,1954}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)