This could be a chalazion from a blocked meibomian gland. Always consider a squamous cell carcinoma but fairly rare. Also rare would be a sebaceous gland carcinoma. I recommend an ophthalmology examination as this could be something serious. I think you'll be more comfortable knowing what this is.