QUERY PLAN
GroupAggregate (cost=211.61..211.63 rows=1 width=12)
Group Key: created_by
-> Sort (cost=211.61..211.62 rows=1 width=8)
Sort Key: created_by
-> Seq Scan on tbl_contacts (cost=0.00..211.60 rows=1 width=8)
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 (contact_type = '1'::type_enterprise_contact_type) AND (created_by = ANY ('{5085,5248,1015,1022,5064,1023}'::integer[])))