Real-time detection of an extreme scattering event: Constraints on Galactic plasma lenses