QUERY PLAN
Aggregate (cost=113.33..113.34 rows=1 width=40)
-> Seq Scan on tbl_pre_sales ps (cost=0.00..113.31 rows=1 width=20)
Filter: ((NOT is_draft) AND (start_at >= '2025-01-01 00:00:00+08'::timestamp with time zone) AND (start_at < '2026-01-01 00:00:00'::timestamp without time zone) AND (created_by = 1001) AND (created_by = ANY ('{1017,5085,1001,5248,1015,1022,5296,1023}'::integer[])))