The table structure in the question shows it is auto_increment. And if it were not,
INSERT INTO user_profile (user_id, email, user_name, first_foo) VALUES (0, %s, %s, 0);
would work.