Optimize inserting long BLOB values for MySQL