Hope I got your questin right: you want to sync the main table, but only those rows which are 'valid' and the validity are determined in another table.
In this case the answer is no, you cannot use columns from another table (no FROM clause…). In this case, however, you could move the 'valid' field to your main table.