QUERY PLAN
GroupAggregate (cost=343.41..343.63 rows=11 width=36)
Group Key: work_log_id
-> Sort (cost=343.41..343.44 rows=11 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..343.22 rows=11 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (work_log_id = ANY ('{38456,38453,38322,38212,38079,38007,37880,37770,37639,37486}'::integer[])))