SELECT 
  * 
FROM 
  cscart_logos 
WHERE 
  layout_id IN (2, 0) 
  AND style_id IN ('AlAbdullatif', '') 
  AND storefront_id IN (1, 0) 
  AND company_id = 0

Query time 0.00063

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "3.56"
    },
    "table": {
      "table_name": "cscart_logos",
      "access_type": "ALL",
      "rows_examined_per_scan": 30,
      "rows_produced_per_join": 0,
      "filtered": "3.33",
      "cost_info": {
        "read_cost": "3.46",
        "eval_cost": "0.10",
        "prefix_cost": "3.56",
        "data_read_per_join": "263"
      },
      "used_columns": [
        "logo_id",
        "layout_id",
        "style_id",
        "company_id",
        "type",
        "storefront_id"
      ],
      "attached_condition": "((`betaatif_store`.`cscart_logos`.`company_id` = 0) and (`betaatif_store`.`cscart_logos`.`layout_id` in (2,0)) and (`betaatif_store`.`cscart_logos`.`style_id` in ('AlAbdullatif','')) and (`betaatif_store`.`cscart_logos`.`storefront_id` in (1,0)))"
    }
  }
}

Result

logo_id layout_id style_id company_id type storefront_id
16 2 AlAbdullatif 0 theme 1
17 2 AlAbdullatif 0 favicon 1
18 2 AlAbdullatif 0 mail 1
35 2 AlAbdullatif 0 vendor 1