The record 31-time winners took a two-goal lead through Fermin Lopez and Raphinha, before Adria de Mesa pulled one back for the hosts.