SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}Weyher{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCity = 'Weyher' OR prZip = 'Weyher' OR prStreet LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}Weyher{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCountry = 'Weyher') AND (prLocation LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}in{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCity = 'in' OR prZip = 'in' OR prStreet LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}in{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCountry = 'in') AND (prLocation LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}der{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCity = 'der' OR prZip = 'der' OR prStreet LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}der{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCountry = 'der') AND (prLocation LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}Pfalz{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCity = 'Pfalz' OR prZip = 'Pfalz' OR prStreet LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}Pfalz{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCountry = 'Pfalz') AND (prLocation LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}Germany{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}Germany{8bda38a8eaf2724ca9f0a9febc4f41acbade26dc0c2cccf9412c3ffc71b6809e}' OR prCountry = 'Germany')