It was a small scene out of a fairly recent movie, very likely French. The main male character meets up with a very young girl in a hotel room, clearly part of a routine rendez-vous.
She is his young mistress if not outright a prostitute or part of a “sugar daddy” relationship. She is very young and very beautiful, and they engage in a fairly explicit “game” that appears to be part of their ritual. There are some domination elements as I remember.
The scene is not related to the main plot, but mere serves to add a dimension to his character (and to add erotism).
It is not an erotic movie, but a normal drama – but with this fairly explict scene.