Wildcard query with second condition on other field

How can be done with this mappings?

What can be done? The query part?