Nowcasting Solar EUV Irradiance with Photospheric Magnetic Fields and the Mg II Index