Seq Scan on tbl_attachement_relationships (cost=0.00..1764.36 rows=1 width=16)
Filter: ((object_type = 18) AND (object_id = ANY ('{39158,39157,39152,39143,33933,32301,28651,24988,20700,20062,19615,19054,18781,18780,18779,15239,14518,14361,14329,13808}'::integer[])))