You can tell if a bike hasn't been used much by the marks on the pedals and cranks. A high mileage bike has a lot of paint/lacquer worn of the pedal arms. How clean the chain is, also is a good indicator, and so is the wear on the tyres, but note that some crappy tyres last for ever, but when...