Messi can play well till his fourties if he want but I am not sure he will play well in Premier League after his 35s.
I doubt if he will play till forties. 38 may be the last age for him to play in a football match. But it is purely our speculation, we don't know what he already plans for his career in the old age. But I disagree to underestimate him to play in Premier League. Never judge that he won't play well till he tries to play there for one season at least.
I have seen it before happening in English and Italian leagues, with players at 40 playing very well. Obviously they are not fast but these players never tend to be about speed in the first place so Messi should do well for many more years, obviously injuries might set in later but he is a well managed player with good diet and exercise, he will be fine:)