Mayoral was on target in the 2-1 victory against Leganés - his sixth goal of a season in which he has hardly featured.
"I'm sure I'll have to leave at the end of the season to find regular playing time somewhere else. At the end of the day, it's been two years now for me without getting many minutes and I think I need them, I'm young and I need to be playing," the 21-year.old told Gol.
"There are a few games left and I don't know what will happen."
On Saturday's appearance, Mayoral said: "I'm very happy because I'm working hard every day to get a chance in the team like this - and you never know when they will arise. So you need to be ready and give everything in every training session. To be honest, whether you enter the team or not you always have to be at 100% for the coach."