Founded:
$filter_group_a = array(
'relation' => 'OR',
array(
'taxonomy' => 'product_cat',
'field' => 'term_id',
'terms' => 18,
),
array(
'taxonomy' => 'product_cat',
'field' => 'term_id',
'terms' => 25,
),
);
$filter_group_b = array(
array(
'taxonomy' => 'product_brand',
'field' => 'description',
'value' => $tmp,
),
);
$args = array(
'post_type' => 'product',
's' => $tmp,
'posts_per_page' => '8',
'paged' => $paged,
'author' => $store_user->ID,
'orderby' => 'menu_order',
'order' => 'ASC',
'tax_query' => array(
array(
'relation' => 'OR',
$filter_group_a,
$filter_group_b,
),
)
);
}