The overflow should always be rated for more flowrate than what your pump can produce at the given head pressure.
Most good pumps will offer a flow curve, or chart that lists it's flowrate output at various head pressure ( distance from the pump in the sump to the discharge at the spray bar in the tank )
Select a pump that is less than the rated flow of your overflow.
What Diatom said is very true. Additionally, allowing the pump to pump more into the tank than the overflow can handle will also overfill your tank. Dry sump bad. Wet floors bad.
HTH