That's not a valid query. You can't mix PHP inside of a query. Please see the below set of tutorials regarding SQL.
www.w3schools.com/sql/sql_intro.asp
You write the queries in the same way you would if you were using them in phpmyadmin with the exception that instead of your table prefix you use #__ and that substitutions can be used as well (e.g. `user_id` = '[user_id]').
The below will probably work. Am not familiar with that extensions database and is purely based off what you have already provided and am guessing customer id within your extension is user id (the ID as seen in _users and _comprofuler).
Code:
UPDATE `#__mijoshop_address` SET `address_1` = '[cb_address]' WHERE `customer_id` = '[user_id]'
Note the above is just an update query. If the row doesn't exist it won't do anything.