QUERY PLAN
Nested Loop Left Join (cost=0.44..55.22 rows=1 width=100)
-> Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships pt (cost=0.29..47.01 rows=1 width=85)
Index Cond: ((object_id = ANY ('{348,721,164,78,77,65,573,484,574,493}'::integer[])) AND (term_id = 7))
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies tt (cost=0.15..8.17 rows=1 width=15)
Index Cond: (pt.taxonomy_id = id)