QUERY PLAN
GroupAggregate (cost=501.79..502.13 rows=17 width=36)
Group Key: client_id
-> Sort (cost=501.79..501.84 rows=17 width=9)
Sort Key: client_id
-> Seq Scan on tbl_reimbursements (cost=0.00..501.45 rows=17 width=9)
Filter: ((status = ANY ('{2,3}'::integer[])) AND (occurrence_at >= '2026-01-01 00:00:00+08'::timestamp with time zone) AND (occurrence_at <= '2026-12-31 23:59:59+08'::timestamp with time zone) AND (client_id = ANY ('{4,5,10,12,13,14,15,16,18,20,21,24,25,27,33,39,43,44,46,48}'::integer[])))