SELECT 
  lang.name, 
  IF(
    cscart_ult_language_values.value IS NULL, 
    lang.value, cscart_ult_language_values.value
  ) as value 
FROM 
  cscart_language_values lang 
  LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name 
  AND company_id = 1 
  AND cscart_ult_language_values.lang_code = lang.lang_code 
WHERE 
  lang.lang_code = 'ja' 
  AND lang.name IN (
    'cannot_buy', 'no_products_selected', 
    'error_no_items_selected', 'delete_confirmation', 
    'text_required_group_product', 
    'save', 'close', 'notice', 'warning', 
    'error', 'text_are_you_sure_to_proceed', 
    'text_invalid_url', 'error_validator_email', 
    'error_validator_phone', 'error_validator_phone_mask', 
    'error_validator_phone_mask_with_phone', 
    'error_validator_phone_phone_number_with_country_selection', 
    'error_validator_integer', 'error_validator_multiple', 
    'error_validator_password', 'error_validator_required', 
    'error_validator_zipcode', 'error_validator_message', 
    'text_page_loading', 'error_ajax', 
    'text_changes_not_saved', 'text_data_changed', 
    'placing_order', 'order_was_not_placed', 
    'file_browser', 'browse', 'more', 
    'text_no_products_found', 'cookie_is_disabled', 
    'insert_image', 'image_url', 'loading', 
    'text_editing', 'save', 'cancel', 
    'cannot_buy', 'no_products_selected', 
    'error_no_items_selected', 'delete_confirmation', 
    'text_required_group_product', 
    'save', 'close', 'notice', 'warning', 
    'error', 'text_are_you_sure_to_proceed', 
    'text_invalid_url', 'error_validator_email', 
    'error_validator_phone', 'error_validator_phone_mask', 
    'error_validator_phone_mask_with_phone', 
    'error_validator_phone_phone_number_with_country_selection', 
    'error_validator_integer', 'error_validator_multiple', 
    'error_validator_password', 'error_validator_required', 
    'error_validator_zipcode', 'error_validator_message', 
    'text_page_loading', 'error_ajax', 
    'text_changes_not_saved', 'text_data_changed', 
    'placing_order', 'order_was_not_placed', 
    'file_browser', 'browse', 'more', 
    'text_no_products_found', 'cookie_is_disabled', 
    'insert_image', 'image_url', 'loading', 
    'text_editing', 'save', 'cancel'
  )

Query time 0.00220

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_ult_language_values",
      "access_type": "system",
      "possible_keys": ["PRIMARY"],
      "rows": 0,
      "filtered": 0,
      "const_row_not_found": true
    },
    "table": {
      "table_name": "lang",
      "access_type": "range",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "392",
      "used_key_parts": ["lang_code", "name"],
      "rows": 39,
      "filtered": 100,
      "index_condition": "lang.lang_code = 'ja' and lang.`name` in ('cannot_buy','no_products_selected','error_no_items_selected','delete_confirmation','text_required_group_product','save','close','notice','warning','error','text_are_you_sure_to_proceed','text_invalid_url','error_validator_email','error_validator_phone','error_validator_phone_mask','error_validator_phone_mask_with_phone','error_validator_phone_phone_number_with_country_selection','error_validator_integer','error_validator_multiple','error_validator_password','error_validator_required','error_validator_zipcode','error_validator_message','text_page_loading','error_ajax','text_changes_not_saved','text_data_changed','placing_order','order_was_not_placed','file_browser','browse','more','text_no_products_found','cookie_is_disabled','insert_image','image_url','loading','text_editing','save','cancel','cannot_buy','no_products_selected','error_no_items_selected','delete_confirmation','text_required_group_product','save','close','notice','warning','error','text_are_you_sure_to_proceed','text_invalid_url','error_validator_email','error_validator_phone','error_validator_phone_mask','error_validator_phone_mask_with_phone','error_validator_phone_phone_number_with_country_selection','error_validator_integer','error_validator_multiple','error_validator_password','error_validator_required','error_validator_zipcode','error_validator_message','text_page_loading','error_ajax','text_changes_not_saved','text_data_changed','placing_order','order_was_not_placed','file_browser','browse','more','text_no_products_found','cookie_is_disabled','insert_image','image_url','loading','text_editing','save','cancel')"
    }
  }
}

Result

name value
browse 参照...
cancel キャンセル
cannot_buy 選択したオプションで商品を購入することはできません
close 閉じる
cookie_is_disabled ショッピングを完全に行うために、<a href="https://www.wikihow.com/Enable-Cookies-in-Your-Internet-Web-Browser" target="_blank">Cookieを受け入れるようにブラウザを設定してください</a>
delete_confirmation 選択したアイテムを削除しますか?
error エラー
error_ajax AJAXエラーが発生しました ([error])。もう一度処理を実行してください。
error_no_items_selected 少なくとも1つ以上のアイテムを選択してください。
error_validator_email <b>[field]</b> フィールドのEメールアドレスが正しくありません。
error_validator_integer <b>[field]</b> フィールドに整数以外の値が入力されています。
error_validator_message <b>[field]</b> フィールドの値が正しくありません。
error_validator_multiple <b>[field]</b> フィールドにはご指定のオプションはありません。
error_validator_password <b>[field2]</b> と <b>[field]</b> に入力されたパスワードが一致しません。
error_validator_phone <b>[field]</b> に入力された電話番号が正しくありません。 正しい形式は +16175555555です。
error_validator_phone_mask <b>[field]</b> に入力された電話番号が正しくありません。
error_validator_phone_mask_with_phone 電話番号 <b>[phone]</b> は無効です。
error_validator_phone_phone_number_with_country_selection この電話番号は無効です
error_validator_required <b>[field]</b> は入力必須項目です。
error_validator_zipcode <b>[field]</b> フィールドに入力された郵便番号が正しくありません。 正しいフォーマットは [extra] です。
file_browser ファイルブラウザ
image_url 画像URL
insert_image 画像の挿入
loading ロード中...
more 更に表示
notice お知らせ
no_products_selected 商品が選択されていません
order_was_not_placed 注文処理は実行されませんでした
placing_order ご注文内容の確定中です
save Lưu
text_are_you_sure_to_proceed 選択した操作を実行しますか?
text_changes_not_saved 変更内容は保存されていません。
text_data_changed 変更内容は保存されていません。「OK」をクリックして作業を終了するか、「キャンセル」をクリックして作業を継続してください。
text_editing 言語変数の編集
text_invalid_url 無効なURLが入力されました
text_no_products_found 該当する商品はありません
text_page_loading ロード中... 処理が完了するまでしばらくお待ちください。
text_required_group_product [group_name] を選択してください。
warning 警告