At 25, there's practically no effect from wind and other environmental factors. However, some scopes can't get parallax free at 25, which can present an issue. Most optics can get parallax free at 50 yards and many ranges have benches for that distance so it makes zeroing at 50 yards the convenient solution. It's one reason that I use a 50 yard zero with my two rifles, the other being that my one optic will only get parallax free down to 50 yards so there's that.
Trajectory wise, a 25 yard and 50 yard zero are the same, but at 50 yards the .22 can start to become affected by environmental factors like wind and potentially build in errors that move you away from that "perfect" zero. Down range this might manifest itself into your wind dope being slightly off, however with both my guns being zeroed at 50 yards I have not run into any major issues and have done pretty well in the local match series the past couple of years. Take that for what it's worth.
If anyone was too lazy to read through that and skipped to the end, I think millennials label this "TL/DR": if you have the ability to zero at 25 yards, go for it. If not, 50 yards will work just fine.