QUERY PLAN
Aggregate (cost=373.57..373.58 rows=1 width=8)
-> Seq Scan on tbl_cases (cost=0.00..373.56 rows=1 width=0)
Filter: ((created_at >= '2026-01-01 00:00:00+08'::timestamp with time zone) AND (created_at <= '2026-12-31 23:59:59+08'::timestamp with time zone) AND (case_type = 1) AND (case_status = 5) AND (client_id = 3464))