QUERY PLAN
GroupAggregate (cost=323.73..323.95 rows=11 width=36)
Group Key: work_log_id
-> Sort (cost=323.73..323.75 rows=11 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..323.54 rows=11 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (work_log_id = ANY ('{33933,32301,28651,24988,20700,20062,19615,19054,18781,18780}'::integer[])))