Going merely off of what you stated:
They want an equity stake in your company, you would own 95% and they would own 5%. They have also valued your company at $600,000. If you take their money you wouldn’t owe them anything but they would be part owner of your company though you would retain full control.
Do you believe your company is worth $600,000? Do you need the $30,000? If you feel your company isn’t worth $600,000 then this might be a good deal. If you need the $30,000 to help you expand then this might be a good deal.
If your company is worth more than $600,000 then it’s probably a bad deal and if you do not need the $30,000 for any reason then it is a bad deal.