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