Big soft velour headphone pads seem to cause the least discomfort for me as far as headphones go. I’d say the best option would be to use earbuds, they should completely eliminate the conflict with wearing glasses. Although you could always try to DIY some slots into the foam/pad where your glasses should go, but the rest of the pad should be firm enough not to just get crumpled entirely next to the slots.