SELECT 
  company_id 
FROM 
  cscart_storefronts_companies 
WHERE 
  storefront_id = 1

Query time 0.00017

JSON explain

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

Result

company_id
2
3
4
7
14
15
21
23
25
26
27
28
30
31
33
34
35
36
37
38
40
72
73
74
78
89