SELECT 
  company_id 
FROM 
  cscart_storefronts_companies 
WHERE 
  storefront_id = 1

Query time 0.00097

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_storefronts_companies",
      "access_type": "ref",
      "possible_keys": [
        "PRIMARY",
        "idx_storefront_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "storefront_id"
      ],
      "key_length": "4",
      "ref": [
        "const"
      ],
      "rows": 1,
      "filtered": 100,
      "using_index": true
    }
  }
}

Result

company_id
1