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