SELECT 
  COUNT(*) 
FROM 
  cscart_storefronts AS storefronts 
  LEFT JOIN cscart_storefronts_shippings AS shippings ON storefronts.storefront_id = shippings.storefront_id 
WHERE 
  1 = 1 
  AND (
    shippings.shipping_id IN ('6')
  )

Query time 0.00033

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "storefronts",
      "access_type": "index",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "4",
      "used_key_parts": ["storefront_id"],
      "rows": 1,
      "filtered": 100,
      "using_index": true
    },
    "table": {
      "table_name": "shippings",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY", "idx_storefront_id"],
      "key": "PRIMARY",
      "key_length": "8",
      "used_key_parts": ["storefront_id", "shipping_id"],
      "ref": ["vietpom_dev.storefronts.storefront_id", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "storefronts.storefront_id = shippings.storefront_id",
      "using_index": true
    }
  }
}

Result

COUNT(*)
0