Article 185 [source]

Spanish Criminal Code
English translation

Anyone who performs or causes another person to perform acts of obscene exhibition in front of minors or persons with disabilities in need of special protection, will be punished with a prison sentence of six months to one year or a fine of 12 to 24 months.