SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0a55a23f4c35110b41cb5688ee679d7b103e6d71e2587242c642ca793188a036}Lehesten{0a55a23f4c35110b41cb5688ee679d7b103e6d71e2587242c642ca793188a036}' OR prCity = 'Lehesten' OR prZip = 'Lehesten' OR prStreet LIKE '{0a55a23f4c35110b41cb5688ee679d7b103e6d71e2587242c642ca793188a036}Lehesten{0a55a23f4c35110b41cb5688ee679d7b103e6d71e2587242c642ca793188a036}' OR prCountry = 'Lehesten') AND (prLocation LIKE '{0a55a23f4c35110b41cb5688ee679d7b103e6d71e2587242c642ca793188a036}Germany{0a55a23f4c35110b41cb5688ee679d7b103e6d71e2587242c642ca793188a036}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0a55a23f4c35110b41cb5688ee679d7b103e6d71e2587242c642ca793188a036}Germany{0a55a23f4c35110b41cb5688ee679d7b103e6d71e2587242c642ca793188a036}' OR prCountry = 'Germany')