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