QUERY PLAN
Limit (cost=3346.59..3346.59 rows=1 width=954)
-> Sort (cost=3346.59..3346.59 rows=1 width=954)
Sort Key: id DESC
-> Bitmap Heap Scan on tbl_api_log a (cost=12.03..3346.58 rows=1 width=954)
Recheck Cond: (("time" >= '2026-07-02 00:00:00'::timestamp without time zone) AND ("time" <= '2026-07-02 23:59:59'::timestamp without time zone))
Filter: (response ~~* '%97871153824369787115382436%'::text)
-> Bitmap Index Scan on idx_api_log_time_brin (cost=0.00..12.03 rows=981 width=0)
Index Cond: (("time" >= '2026-07-02 00:00:00'::timestamp without time zone) AND ("time" <= '2026-07-02 23:59:59'::timestamp without time zone))