QUERY PLAN
GroupAggregate (cost=0.28..16.90 rows=1 width=20)
Group Key: project_id
-> Index Scan using tbl_work_logs_arrive_project_end_at_idx on tbl_work_logs (cost=0.28..16.87 rows=1 width=24)
Index Cond: (project_id = ANY ('{4168,3568,3544}'::integer[]))