In this context, "AND" operation should be completed first, because it is same as "*" operation in first equation. "*"has higher priority than "+" operation and it implies brackets around A*B.
"AND" and "OR" are not the same as "*" and "+" in all contexts. Brackets "override" order of logical operations and make it easier to visualise.