Brain-computer interfaces (BCIs) are promising tools for motor neurorehabilitation. Achieving a balance between classification accuracy and system responsiveness is crucial for real-time applications. This study aimed to assess how the duration of time windows affects performance, specifically classification accuracy and the false positive rate, to optimize the temporal parameters of MI-BCI systems. We investigated the impact of time window duration on classification accuracy and false positive rate, employing Linear Discriminant Analysis (LDA), Multilayer Perceptron (MLP), and Support Vector Machine (SVM) on data acquired from six post-stroke patients and on the external BCI IVa dataset. EEG signals were recorded and processed using the Common Spatial Patterns (CSP) algorithm for feature extraction. Our results indicate that longer time windows generally enhance classification accuracy and reduce false positives across all classifiers, with LDA performing the best. However, to maintain the real-time responsiveness, crucial for practical applications, a balance must be struck. The results suggest an optimal time window of 1-2 s, offering a trade-off between classification performance and excessive delay to guarantee the system responsiveness. These findings underscore the importance of temporal optimization in MI-BCI systems to improve usability in real rehabilitation scenarios.