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