In August 2022, having trialled with them earlier in the year, Peña joined Spanish side Real Betis on a two-year loan, alongside fellow Costa Rican Santiago van der Putten.[2] While van der Putten was immediately brought into the squad with no work permit issues due to his Dutch heritage, Peña had to wait to receive his visa.[3]
Throughout his first season in Spain, Peña featured mostly for the club's third team, Real Betis C, who were playing amateur football in the Spanish ninth division.[4] He featured once for the club's under-19 team, as they went on to win the national title.[5]
The following year, he joined Slovakian side Spartak Trnava, on a one-year loan deal with an option to buy.[6] He made his debut for the club on 3 August 2023, coming on as a substitute for Lukáš Štetina in a UEFA Europa Conference League qualification match against Latvian side Auda. However, a mistake by Peña allowed Auda's South Sudanese forward Manyumow Achol to take the ball and go on to score, though it was ultimately only a consolation as Spartak Trnava went on to win 4–1.[7]
International career
Having represented Costa Rica at youth international level, Peña was called up to the senior squad for the first time in June 2023 for a friendly against Ecuador, following an injury to Youstin Salas.[8] Having made his debut in the 3–1 loss to Ecuador, he was a surprise inclusion in the Costa Rican squad for the 2023 CONCACAF Gold Cup.[9][10]