QUERY PLAN
Aggregate (cost=1.08..1.09 rows=1 width=8)
-> Seq Scan on tbl_punch_overtimes (cost=0.00..1.08 rows=1 width=4)
Filter: ((overtime_start >= '1970-01-01 00:00:00+08'::timestamp with time zone) AND (overtime_start <= '2026-07-01 23:59:59+08'::timestamp with time zone) AND (created_by = 5248) AND (status = 2))