Singlequote in Data Links get doubled


I’m trying to send a query with a data link in dependencie on which bar plot I’m clicking. Because I have to send valuas for variables I need some single quotes in my URL.
It looks like that:
…${sqlQuery:queryparam} SELECT wear_slc FROM hw_info WHERE wear_slc ‘90 - 100 %’

I use ASCII Encoding Reference for whitespaces, equals, etc.
But when I’m using %27 for a singlequote, it get double.

If my data link looks like that:

my query looks like that:
SELECT wear_slc hw_info WHERE wear_slc = ‘‘90 - 100 %’’

Any Idea how to fix this?