QUERY PLAN
Aggregate (cost=139.83..139.84 rows=1 width=8)
-> Seq Scan on tbl_approves (cost=0.00..139.80 rows=13 width=0)
Filter: ((status <> 0) AND ((next_verify_user = 1000) OR (next_cancel_verify_user = 1000)))