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