SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0293a1b1bdc693c058c5cee2bb6d4a44ec98f138abe934e7b9404bdfae19bc9c}Solms{0293a1b1bdc693c058c5cee2bb6d4a44ec98f138abe934e7b9404bdfae19bc9c}' OR prCity = 'Solms' OR prZip = 'Solms' OR prStreet LIKE '{0293a1b1bdc693c058c5cee2bb6d4a44ec98f138abe934e7b9404bdfae19bc9c}Solms{0293a1b1bdc693c058c5cee2bb6d4a44ec98f138abe934e7b9404bdfae19bc9c}' OR prCountry = 'Solms') AND (prLocation LIKE '{0293a1b1bdc693c058c5cee2bb6d4a44ec98f138abe934e7b9404bdfae19bc9c}Germany{0293a1b1bdc693c058c5cee2bb6d4a44ec98f138abe934e7b9404bdfae19bc9c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0293a1b1bdc693c058c5cee2bb6d4a44ec98f138abe934e7b9404bdfae19bc9c}Germany{0293a1b1bdc693c058c5cee2bb6d4a44ec98f138abe934e7b9404bdfae19bc9c}' OR prCountry = 'Germany')