One of the challenges of implementing free-space quantum key distribution (QKD) systems working in daylight is to remove unwanted background noise photons from sunlight. Elaborate elimination of background photons in the spectral, temporal, and spatial domains is an indispensable requirement to decrease the quantum bit error rate (QBER), which guarantees the security of the systems. However, quantitative effects of different filtering techniques and performance optimization in terms of the secure key rate have not been investigated. In this study, we quantitatively analyze how the performance of the QBER and the key rates changes for different combinations of filtering techniques in a free-space BB84 QKD system in daylight. Moreover, we optimize the conditions of filtering techniques in order to obtain the maximum secure key rate.