SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{81fd6dbbd37ff660d9d00f4dd2af63a611ab0653942e51bf33cdd466b04bbfdd}Waldkirch{81fd6dbbd37ff660d9d00f4dd2af63a611ab0653942e51bf33cdd466b04bbfdd}' OR prCity = 'Waldkirch' OR prZip = 'Waldkirch' OR prStreet LIKE '{81fd6dbbd37ff660d9d00f4dd2af63a611ab0653942e51bf33cdd466b04bbfdd}Waldkirch{81fd6dbbd37ff660d9d00f4dd2af63a611ab0653942e51bf33cdd466b04bbfdd}' OR prCountry = 'Waldkirch') AND (prLocation LIKE '{81fd6dbbd37ff660d9d00f4dd2af63a611ab0653942e51bf33cdd466b04bbfdd}Germany{81fd6dbbd37ff660d9d00f4dd2af63a611ab0653942e51bf33cdd466b04bbfdd}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{81fd6dbbd37ff660d9d00f4dd2af63a611ab0653942e51bf33cdd466b04bbfdd}Germany{81fd6dbbd37ff660d9d00f4dd2af63a611ab0653942e51bf33cdd466b04bbfdd}' OR prCountry = 'Germany')