QUERY PLAN
Delete on tbl_visit_object_histories (cost=0.00..1.24 rows=2 width=6)
-> Seq Scan on tbl_visit_object_histories (cost=0.00..1.24 rows=2 width=6)
Filter: ((user_id = 5493) AND (id <> ALL ('{15,14,10,9,6,3}'::integer[])))