I couldn't think of any good suggestions off the top of my head. I was cringing at the memory of ear discomfort on one of the legs of a trip the last time I flew and the idea of that happening underwater seems frightful.
I found this link, hope it helps.
https://www.entnet.org//content/earwax-and-care