These are just a couple of the wind deflectors that fit on helmet straps. Both brands below have multiple models, and I think there are other brands out there too:http://www.slipstreamz.com/https://www.amazon.com/Cat-Ears-Classic ... B00SVYU1J2
Actual ear pain hasn't been an issue for me, but I've certainly found wind noise to be annoying and make it difficult to converse with riding companions. Additionally, there have been studies on the wind noise generated in a convertible car with the top down, or a motorcycle, and the db level is not just annoying, but gets into a range that could cause long term hearing damage. Not sure how the lower bicycling speeds affect the db, but it is worth being cautious if you're getting discomfort.
I've found different helmets to dramatically affect noise. In general, a model with fewer and more streamlined vents will have less noise, such as some of the newer aero models. Also models which have the straps emanate from the interior edge of the helmet will generate less noise as the strap will lay flat against your skin rather than "slicing" the air right in front of your ear, as models with straps that sit off the skin will.
Not that I suggest riding without a helmet, but you could do a controlled run with/without your helmet on a quiet road to see how much noise is helmet generated and how much is simply the wind blowing over your ears. Even better, do the same thing, but use your helmet in stock form, and then try again but with the straps taped to your skin and then with various vents taped over. Helmet visors can make noise too, and I even had a helmet with little threaded fittings for a visor/camera mount and the empty threaded holes would make a hell of a whistle until I taped them over.
Between the deflectors for ear noise, and a possible helmet modification/swap, you should be able to make a huge improvement. If you're still getting pain, see a doctor about those ears.