Furthermore, preoperative diagnostic retinal pathology significantly influenced the TIMP2/MMP2 ratio, in which the highest ratio was observed in patients with endophthalmitis (6.49) and the lowest ratio was observed in patients with dropped IOL/crystalline lens (1.46, p = 0.004). This evidence concerns the gene MMP2 and endophthalmitis.