SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8e16d585d1f07d55137aa9464d2cfc37c63a94ad7e3bc407978c54cbf6a1d294}Gummersbach{8e16d585d1f07d55137aa9464d2cfc37c63a94ad7e3bc407978c54cbf6a1d294}' OR prCity = 'Gummersbach' OR prZip = 'Gummersbach' OR prStreet LIKE '{8e16d585d1f07d55137aa9464d2cfc37c63a94ad7e3bc407978c54cbf6a1d294}Gummersbach{8e16d585d1f07d55137aa9464d2cfc37c63a94ad7e3bc407978c54cbf6a1d294}' OR prCountry = 'Gummersbach') AND (prLocation LIKE '{8e16d585d1f07d55137aa9464d2cfc37c63a94ad7e3bc407978c54cbf6a1d294}Germany{8e16d585d1f07d55137aa9464d2cfc37c63a94ad7e3bc407978c54cbf6a1d294}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{8e16d585d1f07d55137aa9464d2cfc37c63a94ad7e3bc407978c54cbf6a1d294}Germany{8e16d585d1f07d55137aa9464d2cfc37c63a94ad7e3bc407978c54cbf6a1d294}' OR prCountry = 'Germany')