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