Living in a country where non-legit prostitution is illegal, I have one thing to say:
Marriages are based on faithfulness. If you want to legitimately make 'proper' use of prostitution, and still want to uphold your theoretical life-long God-blessed marriage, just dont do it. If you aren't religious; then when you go out to make the dirty deed with a stranger (or not... i dont know what makes you hot lol) you better tell the wife. If you dont tell the wife, you better make sure she dont know or doesnt care.
Long paragraph short: If you like God; dont do it (dont care which God either.) If you like you're wife, let her know what you do to stay sane; or dont do it.
If you aint married? GO FUCKIN CRAZY.
Except if you're poor. Then you can go flog your salami.
Cheers!