Puedes usar NOT EXISTS
SELECT a.id, a.name
FROM A
WHERE NOT EXISTS
(
SELECT 1 FROM B
WHERE b.A = a.id AND b.cond = 'X'
)
Sin embargo, siempre olvido que MySql es el único (?) rdbms que tiene problemas para optimizar un EXISTS /NOT EXISTS . Por lo tanto, es un poco más eficiente usar un LEFT JOIN acercamiento.
https://explainextended.com/2009/09/18/not-in-vs-not-exists-vs-left-join-is-null-mysql/
En MS SQL-Server es mejor usar NOT EXISTS .
https://sqlperformance.com/2012/12 /t-sql-queries/left-anti-semi-join