Cal-Maine Foods Inc. entered into a Second Amended and Restated Credit Agreement, replacing an existing agreement and tying future borrowing costs to the Secured Overnight Financing Rate.