Filtering by using two query parameters

Hello everyone,
How I can do a filtering process using two query parameters via history/variable-instance,
I want to execute filtering process by using both CustomerName and CustomerCredit into the same query,
can anyone help me in that? what is the write syntax for that?