More important is the maintenance that's been done, or not done on the bike. Valve checks, chain and sprocket replacement, condition of the tires, brake fluid and coolant replacement, all of those should have or could have been done with 20 or 30 thousand miles on it. Some owners will have good receipts and records, others not. Sometimes you can tell by the general condition of the bike and by the seller if things have been cared for. If necessary, you could bring a knowledgeable friend along to check out the bikes you look at. With proper maintenance, I wouldn't worry a bit about 40,000 miles on these bikes. Heck, even with haphazard maintenance, that's not many miles on these.
Good luck in your search, ride safe and have fun !
Good luck in your search, ride safe and have fun !