QUERY PLAN
Limit (cost=5190.60..5190.60 rows=1 width=719)
-> Sort (cost=5190.60..5190.60 rows=1 width=719)
Sort Key: a.id DESC
-> Seq Scan on tbl_api_log a (cost=0.00..5190.59 rows=1 width=719)
Filter: (("time" >= '2025-07-05 00:00:00'::timestamp without time zone) AND ("time" < '2025-07-06 00:00:00'::timestamp without time zone))