QUERY PLAN
Sort (cost=273.14..273.14 rows=1 width=164)
Sort Key: id DESC
-> Seq Scan on tbl_cases (cost=0.00..273.13 rows=1 width=164)
Filter: ((created_at >= '2025-07-04 00:00:00+08'::timestamp with time zone) AND (created_at < '2025-07-05 00:00:00+08'::timestamp with time zone))