Looking for speed sensors

and i guess that could work?

Well detecting a car pass two points is a lot more simple than getting a ball in free flight to break two beams.

I think you might struggle with this.