QUERY PLAN
Aggregate (cost=3.41..3.42 rows=1 width=8)
-> Seq Scan on tbl_punch_leaves (cost=0.00..3.41 rows=1 width=0)
Filter: ((next_verify_user = 1000) OR (next_cancel_verify_user = 1000))