QUERY PLAN
Aggregate (cost=65.83..65.84 rows=1 width=32)
-> Seq Scan on tbl_erp_payment_tickets t (cost=0.00..65.71 rows=49 width=6)
Filter: (is_payment_settle AND (created_at >= '2025-08-08 14:34:58+08'::timestamp with time zone) AND (status = 2))