QUERY PLAN
Aggregate (cost=72.69..72.70 rows=1 width=32)
-> Seq Scan on tbl_sales_contracts t (cost=0.00..72.65 rows=15 width=3)
Filter: (build_by_project AND (NOT need_analysis) AND (created_at < '2025-08-08 14:34:58+08'::timestamp with time zone))