Given the success rate Liverpool is currently experiencing, I don't think mo Salah would want to leave a club that is currently at the peak of winning the premier League and other promising European competitions for another club, same thing goes to Liverpool as I don't think they are not going to give mo Salah an extension of contract especially with the way he has performed this season, he has been able to score over 15 goals for Liverpool just this season and is highly likely to score more before the end of the season. In any case if Liverpool ever decide to let go of him, then it should be because of age factor which for me is not really an issue, at best they should extend his contract for two seasons instead of letting him go outrightly.
In addition to Salah's great achievements, the length of his contract will be of interest, and it looks like he could now extend his contract with Liverpool until 2027. Liverpool certainly shouldn't lose such a striker, his importance is also in the fact that he has a lot of experience and such a player is important for the team. In addition, he is in great shape, and is an important reinforcement for Liverpool's attack.