Full disclosure - Mahindra owner here.
I was looking at the same tractors and knew very little about tractors and still don't.
I asked some tractor owners for advice, they had different things to look for, but here was what they said is most important.
Owner 1- has a Case but is a Kubota fan " Get the highest fel and three point capacity you can afford"
Owner 2 - has a Ford/New Holland " Get the one with the highest fel capacity with a shuttle or hst"
Owner 3- has a Mahindra (4110 similar to the 2540) " Get the heaviest, strongest one you can"
Owner 4 -is actually tractorless now, but has owned a Case and Kubota " Get one with a hst"
All but #4 stressed that there is nothing worse than having not enough tractor to do a job you need it for.
I think hitting your foot with the nail gun is worse, but to each his own.
I hope that helps, and good luck.
Scott.