You asked
Which fast autofocus lens for aps c suits portraits in dim bars under 500 euros?
Here is what the site says about that.
From Pentax K-500: Pentax K-500: A DSLR by Pentax with a 16.3-megapixel APS-C sensor, announced in 2013. The K-50 without weather sealing.
From Portraits: The camera: What matters most is eye autofocus, which current mirrorless cameras do very well: it finds the nearest eye and tracks it, so wide apertures stay sharp. Full frame gives you more background blur at the same f-number than APS-C, but a fast APS-C lens closes most of that gap for far less money; see sensor sizes.
Quoted from this site's pages.
Ask next
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}.