When the router session is locked to the master, the storage of prepared statements is not necessary as no other server can be used. The ID sent by the client can be used without modification as it will always be the same on the master.