First off, I don't wear prescription glasses, only reading glasses every blue moon, so I can't help you there. But I can offer my take on my electronic muffs I've experienced so far.
If you already use 'foamies' (I assume you mean the small foam ear plugs), along with (in addition to?) your normal ear muffs, you probably won't like electronic muffs, due to their general lack of better sound insulation in them, compared to normal full-blown shooters muffs, at least in my observations so far. I went through a couple different pairs myself so far and I haven't found a set of electronic muffs (with the microphones built in) that have as much sound protection, at least to my ears, as a good set of normal muffs. I paid a bit more this time, trying out some Beretta 'premium' electronic muffs that cost a fair bit more than my last set of Caldwell's, but they don't seem to have much more, if any, sound insulation/protection in them. A bit disappointed. And the mics don't seem much better sounding either. IMHO, Don't blow a huge wad of cash on the so-called premium muffs, as in my experience, they don't seem proportionally that much better. Ergonomics are likely a better thing to look for (or feel for). What feels best with your ears and your gear.
Others here with a lot more experience at the range can likely advise, (maybe they found a better electronic type/brand than I did), but that's my 2 cents.
Cheers.