You can dig this information in the information_schema.table_constraints and information_schema.constraint_column_usage tables by checking for multiple PRIMARY KEY rows in the table, for example:
SELECT col.table_name FROM information_schema.table_constraints tc JOIN information_schema.constraint_column_usage col ON col.constraint_name = tc.constraint_name AND col.table_name = tc.table_name AND tc.constraint_type = 'PRIMARY KEY' GROUP BY col.table_name HAVING COUNT(*) > 1
SQLfiddle for testing .
source share