You asked
What should I check when buying a used prime lens such as mount autofocus and condition?
Here is what the site says about that.
From Lenses: Third-party lenses: Sigma, Tamron, Samyang and Viltrox make good lenses for many mounts, often for much less than the camera maker's own. Check that the lens supports your body's autofocus features, and that the maker allows third-party lenses on that mount: not every brand does.
From Your first camera: Don't overthink it: Every current camera from a major brand is good. The differences that matter for a beginner are size, handling, and which lenses the mount offers. Hold a few in a shop if you can, pick the one that feels right in your hand, and buy it used if you want to save money: see buying used.
Quoted from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.