Best way to produce 50 VDC, 20 mA from 5 V
Try the Nat Semi Simple Switchers. Here are some examples I found with their interactive selection tool.

I used 5V to 6V input, 50V output and a current of 50 mA. You should be able to design a suitable circuit on-line that meets your cost and performance requirements.