MySQL to use INFORMATION_SCHEMA and retrieve foreign key