QUERY PLAN
GroupAggregate (cost=0.28..61.79 rows=2 width=20)
Group Key: project_id
-> Index Scan using tbl_work_logs_arrive_project_end_at_idx on tbl_work_logs (cost=0.28..61.74 rows=2 width=24)
Index Cond: (project_id = ANY ('{4174,1018,4184,4186,4185,4182,4183,4181,4173,4179,4079,4170,4175,4155,4172,4171,4151,4169,4168,4144}'::integer[]))