You are tackling this problem from the wrong end, the place to start is the pump not the motor. You need to know the head the pump has to pump to and then from the head/flow (Q-H) curve you will be able to work ot the flow, assuming you have the head/flow curve and know the pump head.
However...