In the Pali canon, sensual (or sexual) misconduct as one of the five precepts is defined as:
He misconducts himself in sensual pleasures; he has intercourse with
women who are protected by their mother, father, mother and father,
brother, sister, or relatives, who have a husband, who are protected
by law, and even with those who are garlanded in token of betrothal.
MN 41
So for lay persons, it is more about adultery, infidelity, and a sensual relationship outside of a committed exclusive relationship (or marriage) with a free consenting adult (of legal age), rather than a specific sexual practice or fetish.
So, what's bad about sexual misconduct? What is the consequence that is to be avoided?
The minimum result it (sexual misconduct) leads to for a human being
is rivalry and enmity.
AN 8.40
And what is the purpose of virtue?
"Skillful virtues have freedom from remorse as their purpose, Ananda,
and freedom from remorse as their reward."
AN 11.1
Remorse typically comes from harming others in a way that you would not like to be done to you (Ud 5.1).
So, based on this, I would say using the services of a prostitute, without the consent of one's spouse or long term committed partner, violates this precept, as it may cause animosity with one's spouse and the betrayal of their trust, and result in remorse for the one who sought the services of the prostitutes.
Basically, if you would feel violated when your spouse or long term partner would use the services of a sex worker without your consent, then you should not do the same to your partner.