QUERY PLAN
GroupAggregate (cost=333.19..333.41 rows=11 width=36)
Group Key: work_log_id
-> Sort (cost=333.19..333.21 rows=11 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..333.00 rows=11 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (work_log_id = ANY ('{21704,21551,21433,20678,20677,19578,19475,18810,18718,18220}'::integer[])))