In MySQL, JSON_OVERLAPS() is a function that tests whether or not two JSON documents have any key-value pairs or array elements in common.
The function returns true (1) if the documents have any key-value pairs or array elements in common, and false (0) if they don’t.
The JSON_OVERLAPS() function was added in MySQL 8.0.17.