MySQL 8.4.2
Source Code Documentation
Prepared Statements

The prepared statement protocol was introduced in MySQL 4.1 and adds a few new commands:

It also defines a more compact resultset format that is used instead of Text Resultset to return the results.

Note
Keep in mind that not all SQL statements can be prepared.
See also
WL#2871