Yes, it is compatible. Your motherboard has 1 PCI Express x16 (Gen 2.0). An Nvidia GeForce GT 1030 2gb uses PCI Express Gen 3.0, but the card is not fast enough to saturate the PCI Express x16 (Gen 2.0) bus on your motherboard.
And what about this one? https://www.germanos.gr/product/desktop-lenovo-dt-300s-08lg-215/20334893/
It would probably be bout the same, but remember the GT 1030 2gb card you buy would need to be a "Low Profile" half height version to fit in these small form factor PC's.