QUERY PLAN
Aggregate (cost=6.98..6.99 rows=1 width=32)
-> Seq Scan on tbl_erp_sales_gifts t (cost=0.00..6.58 rows=160 width=3)
Filter: ((verify_at <= '2026-06-30 23:59:59+08'::timestamp with time zone) AND (status = 2))