INSERT INTO `product_params`
(`ID`, `ProductID`, `ParamID`, `ParamValue`)
SELECT NULL AS `ID`, `ID` AS `ProductID`, 10 AS `ParamID`, 'D' AS `ParamValue`
FROM `products`
WHERE MedinaID = '0-01-01-0-0-02-1-0030'
LIMIT 1;