QUERY PLAN
Aggregate (cost=524.13..524.14 rows=1 width=8)
-> Seq Scan on tbl_approves (cost=0.00..524.11 rows=8 width=0)
Filter: ((status <> 0) AND (next_verify_user = 1001))