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