You asked

Which cheap used prime is best for indoor sport on a canon eos 4000d under a set price?

The guide can't name a cheapest used prime under your budget. The page material available here gives no prices for these lenses, and the guide only quotes prices from each catalogue page's "Price in France" section, with the date checked. Prices change, so check the shops' links on each page before you buy.

The Canon EOS 4000D takes Canon EF lenses, and it's an APS-C body with a 1.6 crop factor. For indoor sport, aperture and light matter more than stabilisation, since stabilisation steadies the camera, not a moving player. Three fast primes on the 4000D's list are worth comparing:

If the sport is played at a distance, a prime may feel short. The Sigma 50-100mm f/1.8 DC HSM Art is a fast zoom that frames like 80-160mm on full frame, though it isn't a prime. Used lenses in good condition are often the best value, as the buying used guide explains.

Written by Claude 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}.