SELECT 
  object_id 
FROM 
  cscart_settings_objects 
  LEFT JOIN cscart_settings_sections ON cscart_settings_objects.section_id = cscart_settings_sections.section_id 
WHERE 
  cscart_settings_objects.name = 'license_key' 
  AND cscart_settings_sections.name = 'back_to_top'

Query time 0.00066

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "0.70"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_settings_objects",
          "access_type": "ref",
          "possible_keys": [
            "name",
            "section_id"
          ],
          "key": "name",
          "used_key_parts": [
            "name"
          ],
          "key_length": "386",
          "ref": [
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.25",
            "eval_cost": "0.10",
            "prefix_cost": "0.35",
            "data_read_per_join": "808"
          },
          "used_columns": [
            "object_id",
            "name",
            "section_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "cscart_settings_sections",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "section_id"
          ],
          "key_length": "4",
          "ref": [
            "s2cart.cscart_settings_objects.section_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 0,
          "filtered": "10.00",
          "cost_info": {
            "read_cost": "0.25",
            "eval_cost": "0.01",
            "prefix_cost": "0.70",
            "data_read_per_join": "40"
          },
          "used_columns": [
            "section_id",
            "name"
          ],
          "attached_condition": "(`s2cart`.`cscart_settings_sections`.`name` = 'back_to_top')"
        }
      }
    ]
  }
}