QUERY PLAN
Limit (cost=23.28..206.44 rows=9 width=232)
-> Incremental Sort (cost=23.28..206.44 rows=9 width=232)
Sort Key: "time" DESC, id DESC
Presorted Key: "time"
-> Index Scan Backward using member_balance_history_time_type_index on member_balance_history (cost=0.43..206.04 rows=9 width=232)
Index Cond: (("time" >= '2025-07-03 00:00:00'::timestamp without time zone) AND ("time" <= '2025-07-10 23:59:59'::timestamp without time zone))
Filter: ((member_id)::text = '1eebb648-e02e-6a38-b774-5e1409fc0711'::text)