QUERY PLAN
Limit (cost=3626.90..3626.90 rows=1 width=727)
-> Sort (cost=3626.90..3626.90 rows=1 width=727)
Sort Key: a.id DESC
-> Seq Scan on tbl_api_log a (cost=0.00..3626.89 rows=1 width=727)
Filter: (("time" >= '2025-06-25 00:00:00'::timestamp without time zone) AND ("time" < '2025-06-26 00:00:00'::timestamp without time zone))