I have no clue where the data for Spain comes from, in June 2022 the average price for the regulated market was 0.291347 €/kWh[0], that's ignoring the free market rates which are what 70% of Spaniards use (and they are cheaper when the market is volatile, like last year).
[0]: https://www.ocu.org/vivienda-y-energia/gas-luz/informe/preci...