SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}Gmund{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}' OR prCity = 'Gmund' OR prZip = 'Gmund' OR prStreet LIKE '{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}Gmund{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}' OR prCountry = 'Gmund') AND (prLocation LIKE '{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}am{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}' OR prCity = 'am' OR prZip = 'am' OR prStreet LIKE '{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}am{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}' OR prCountry = 'am') AND (prLocation LIKE '{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}Tegernsee{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}' OR prCity = 'Tegernsee' OR prZip = 'Tegernsee' OR prStreet LIKE '{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}Tegernsee{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}' OR prCountry = 'Tegernsee') AND (prLocation LIKE '{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}Germany{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}Germany{8f50c28207a78bcbea2926003c32c512e0fe355d9f2e51778db5e872cc26c622}' OR prCountry = 'Germany')