Particle Acceleration at 5 au Associated with Turbulence and Small-scale Magnetic Flux Ropes