QUERY PLAN
Delete on tbl_visit_object_histories (cost=0.00..20.20 rows=10 width=6)
-> Seq Scan on tbl_visit_object_histories (cost=0.00..20.20 rows=10 width=6)
Filter: ((user_id = 5250) AND (id <> ALL ('{183191,183190,183189,183169,183156,183146,180862,170127,179360,173437}'::integer[])))