I think the problem may be bigger than simply long nails. I would try to take him to the vet and see if his paw is okay.