My initial suspect was that OPENQUERY delays or uses a local cache. When I found that Master record was inserted in MySQL table I cannot explain why foreign key check...
Yes, with a SELECT * FROM OPENQUERY(EXTSYS, 'SELECT * FROM EntityMaster WHERE id=131177') put between first and second INSERT, I can see inserted row (that makes me crazy :crazy: ).