MySQL SchemaManager TABLE_CONSTRAINTS query optimization

In order to avoid full databases scan, constraints on the
TABLE_CONSTRAINTS table are moved from JOIN to query predicate.
Merge pull request #171 from franckstauffer/dev

MySQL SchemaManager TABLE_CONSTRAINTS query optimization