SELECT 
  storefronts.* 
FROM 
  cscart_storefronts AS storefronts 
WHERE 
  1 = 1 
  AND (
    storefronts.url = 'cs-cart.web-apice.work' 
    OR storefronts.url = 'www.cs-cart.web-apice.work' 
    OR storefronts.url LIKE 'www_.cs-cart.web-apice.work' 
    OR storefronts.url LIKE 'cs-cart.web-apice.work/%' 
    OR storefronts.url LIKE 'www.cs-cart.web-apice.work/%' 
    OR storefronts.url LIKE 'www_.cs-cart.web-apice.work/%'
  ) 
GROUP BY 
  storefronts.storefront_id 
ORDER BY 
  storefronts.url = 'cs-cart.web-apice.work' DESC, 
  storefronts.url = 'www.cs-cart.web-apice.work' DESC, 
  storefronts.url LIKE 'www_.cs-cart.web-apice.work' DESC, 
  storefronts.url LIKE 'cs-cart.web-apice.work/%' DESC, 
  storefronts.url LIKE 'www.cs-cart.web-apice.work/%' DESC, 
  storefronts.url LIKE 'www_.cs-cart.web-apice.work/%' desc

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "ordering_operation": {
      "using_filesort": true,
      "grouping_operation": {
        "using_filesort": false,
        "table": {
          "table_name": "storefronts",
          "access_type": "ALL",
          "possible_keys": [
            "PRIMARY"
          ],
          "rows": 2,
          "filtered": 100,
          "attached_condition": "((`_testcscart`.`storefronts`.`url` = 'cs-cart.web-apice.work') or (`_testcscart`.`storefronts`.`url` = 'www.cs-cart.web-apice.work') or (`_testcscart`.`storefronts`.`url` like 'www_.cs-cart.web-apice.work') or (`_testcscart`.`storefronts`.`url` like 'cs-cart.web-apice.work/%') or (`_testcscart`.`storefronts`.`url` like 'www.cs-cart.web-apice.work/%') or (`_testcscart`.`storefronts`.`url` like 'www_.cs-cart.web-apice.work/%'))"
        }
      }
    }
  }
}

Result

storefront_id url redirect_customer is_default status access_key
1 cs-cart.web-apice.work Y Y N
2 cs-cart.web-apice.work/test N N N