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