QUERY PLAN
Aggregate (cost=328.25..328.26 rows=1 width=136)
-> Bitmap Heap Scan on tbl_projects p (cost=35.49..327.59 rows=29 width=18)
Recheck Cond: (created_by = ANY ('{1004,1005,1013,5087}'::integer[]))
Filter: ((bargain_date >= '2025-01-01'::date) AND (bargain_date < '2026-01-01 00:00:00'::timestamp without time zone) AND (project_status = 3))
-> Bitmap Index Scan on tbl_projects_created_by_idx (cost=0.00..35.48 rows=849 width=0)
Index Cond: (created_by = ANY ('{1004,1005,1013,5087}'::integer[]))