Sure, here is the translation of the provided text:
Apart from this queer mayor whose taste was too perverse, treating a prison sentence as if it were a visit to a nightclub for enjoyment, Tommy couldn't think of any other reason why Ed Koch would want himself to go to prison.