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