A hook for hay bales, or possibly a butcher's hook? Size reference will help, but I'm sure someone will recognize it. Cool relic!
Looks like it might be a hook that attached to the rafters to hang stuff from.
The small hook would go over the rafter and the other small attachment would slide up and the nut would tighten and hold it in place.