Seq Scan on tbl_attachement_relationships (cost=0.00..1932.33 rows=1 width=16)
Filter: ((object_type = 31) AND (object_id = ANY ('{164,392,394,396,407,449,1071,1079,1231,1427,1569,2022,2215,2217,2507,2508,2785,2806,2809,2810,3644,3645,3653}'::integer[])))