All the models with the i5 8300 look to have shipped in 2018 so there is a warranty. Hopefully it was just the cover off which does not void the warranty.

-> Use that warranty.