QUERY PLAN
Nested Loop Left Join (cost=0.44..94.23 rows=1 width=67)
-> Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships pt (cost=0.29..86.01 rows=1 width=51)
Index Cond: ((object_id = ANY ('{736,742,573,556,741,728,149,493,444,740,525,739,738,564,570,702,586,730,707,523}'::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=16)
Index Cond: (pt.taxonomy_id = id)