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