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