To whom, exactly?
If you’re planning to date Leonardo DiCaprio (whose age cut-off seems to be about 27), then yes, it might matter.
You also wouldn’t be attracting a paedophile, I’m afraid.
On a more serious note though, from what I’ve seen, people tend to lose that “youthful” look somewhere between 28 and 35. It doesn’t make them unattractive, just different.