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