Is your ESP32 a 3V3 system?
I'm not sure if the MAX485 device is rated to work below 5V supply. Maybe someone else can clarify as I may have missed it in the datasheet.
A quick play with the online CRC calculator for Modbus indicates that the checksum in the received message is not correct for the data that is in the message. Assuming that the device you are talking to understood the message, and responded with a valid modbus message, then that may suggest that the MAX485 is struggling if powered from 3V3.
I think that is correct as it is the number of bytes in the data section of the response message.
I may be wrong here, but, if you are the controller device, then as long as you have a pause between messages (>3.5x the time it takes to send a byte at the chosen baud rate - I think!), you can format up your own byte array of address, function, data & CRC and simply send that to a UART for transmission and wait for the reply.
I'm not familiar with the ESP32, so I don't know how many hardware serial ports it has. You may have to use a software serial port implementation.
Have a look at this discussion - and post #16 onwards for some basic code. It's for a different modbus device but shows how to talk to one without using the modbus library.