SELECT 
  cscart_settings_objects.object_id as object_id, 
  name, 
  section_id, 
  section_tab_id, 
  type, 
  position, 
  is_global, 
  cscart_settings_objects.name as description, 
  (
    CASE WHEN storefront_values.object_id IS NOT NULL THEN storefront_values.value ELSE cscart_settings_objects.value END
  ) AS value 
FROM 
  cscart_settings_objects 
  LEFT JOIN cscart_settings_vendor_values AS storefront_values ON storefront_values.object_id = cscart_settings_objects.object_id 
  AND storefront_values.storefront_id = 1 
  AND storefront_values.company_id = 0 
WHERE 
  1 
  AND section_id = 236 
  AND (
    FIND_IN_SET(
      'STOREFRONT', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'ROOT', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'MVE:STOREFRONT', cscart_settings_objects.edition_type
    ) 
    OR FIND_IN_SET(
      'MVE:ROOT', cscart_settings_objects.edition_type
    )
  ) 
  AND cscart_settings_objects.type <> 'H' 
ORDER BY 
  cscart_settings_objects.position

Query time 0.00070

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "43.32"
    },
    "ordering_operation": {
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_settings_objects",
            "access_type": "ref",
            "possible_keys": [
              "section_id"
            ],
            "key": "section_id",
            "used_key_parts": [
              "section_id"
            ],
            "key_length": "4",
            "ref": [
              "const"
            ],
            "rows_examined_per_scan": 19,
            "rows_produced_per_join": 17,
            "filtered": "90.00",
            "index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 236)",
            "cost_info": {
              "read_cost": "19.00",
              "eval_cost": "3.42",
              "prefix_cost": "22.80",
              "data_read_per_join": "13K"
            },
            "used_columns": [
              "object_id",
              "edition_type",
              "name",
              "section_id",
              "section_tab_id",
              "type",
              "value",
              "position",
              "is_global"
            ],
            "attached_condition": "((find_in_set('STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`)) and (`webmarco`.`cscart_settings_objects`.`type` <> 'H'))"
          }
        },
        {
          "table": {
            "table_name": "storefront_values",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY",
              "storefront_id",
              "company_id"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "company_id",
              "storefront_id"
            ],
            "key_length": "11",
            "ref": [
              "webmarco.cscart_settings_objects.object_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 17,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "17.10",
              "eval_cost": "3.42",
              "prefix_cost": "43.32",
              "data_read_per_join": "410"
            },
            "used_columns": [
              "object_id",
              "company_id",
              "value",
              "storefront_id"
            ]
          }
        }
      ]
    }
  }
}

Result

object_id name section_id section_tab_id type position is_global description value
6358 enable_test_mode 236 237 C 10 N enable_test_mode N
6359 otp_twilio_phone_number 236 237 I 20 N otp_twilio_phone_number WebMarco
6360 otp_twilio_account_sid 236 237 I 30 N otp_twilio_account_sid ACd2c9c38dd9252e2c1c7e492f9452554a
6361 otp_twilio_access_token 236 237 I 40 N otp_twilio_access_token 10ab0c52abac0cc35776e74527d5d803
6363 enable_otp_on_register 236 237 C 60 N enable_otp_on_register N
6364 login_via_otp 236 237 C 70 N login_via_otp N
6365 enable_reset_password_by_otp 236 237 C 80 N enable_reset_password_by_otp N
6366 enable_checkout_for_non_verified_user 236 237 C 90 N enable_checkout_for_non_verified_user N
6367 otp_send_payments 236 237 N 100 N otp_send_payments N
6369 otp_otp_save_phone_no 236 237 C 120 N otp_otp_save_phone_no Y
6370 otp_otp_retry_chance 236 237 S 130 N otp_otp_retry_chance otp_retry_3
6371 otp_otp_time_of_expiration_of_otp_code 236 237 S 140 N otp_otp_time_of_expiration_of_otp_code otp_expire_5
6372 otp_phone_mask 236 237 I 150 N otp_phone_mask
6373 otp_otp_length 236 237 I 160 N otp_otp_length 4
6374 otp_otp_characters 236 237 N 170 N otp_otp_characters #M#otp_numeral=Y
6375 otp_info_for_otp_special_char 236 237 O 180 N otp_info_for_otp_special_char