Thiophene-containing photosensitizers are gaining recognition for their role in photodynamic therapy (PDT). However, the inherent reactivity of the thiophene moiety toward singlet oxygen threatens the stability and efficiency of these photosensitizers. This study presents a novel mathematical model capable of predicting the reactivity of thiophene toward singlet oxygen in PDT, using Conceptual Density Functional Theory (CDFT) and genetic programming. The research combines advanced computational methods, including various DFT techniques and symbolic regression, and is validated with experimental data. The findings underscore the capacity of the model to classify photosensitizers based on their photodynamic efficiency and safety, particularly noting that photosensitizers with a constant rate 1000 times lower than that of unmodified thiophene retain their photodynamic performance without substantial singlet oxygen quenching. Additionally, the research offers insights into the impact of electronic effects on thiophene reactivity. Finally, this study significantly advances thiophene-based photosensitizer design, paving the way for therapeutic agents that achieve a desirable balance between efficiency and safety in PDT.