When we create a CHECK constraint in MySQL, we have the option of defining it as ENFORCED or NOT ENFORCED.
MySQL CHECK constraints are enforced by default, so unless we explicitly define the constraint as NOT ENFORCED, it will automatically be enforced.
In any case, we can use either of the following two methods to check whether or not an existing CHECK constraint is enforced.