QUERY PLAN
Limit (cost=3619.94..3619.94 rows=1 width=727)
-> Sort (cost=3619.94..3619.94 rows=1 width=727)
Sort Key: a.id DESC
-> Seq Scan on tbl_api_log a (cost=0.00..3619.93 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))