AFAIK, most sex workers in Germany are self-employed, so they neither get unemployment benefits nor a national pension (since they also don't contribute to these insurance systems).
Do you have any source for your statement on many people loosing unemployment benefits for refusing to work in brothels ? That sounds quite fishy.