SELECT 
  company_id 
FROM 
  cscart_companies 
WHERE 
  1 
  AND company = 'Stock2cart.com'

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.09"
    },
    "table": {
      "table_name": "cscart_companies",
      "access_type": "ALL",
      "rows_examined_per_scan": 5,
      "rows_produced_per_join": 1,
      "filtered": "20.00",
      "cost_info": {
        "read_cost": "0.99",
        "eval_cost": "0.10",
        "prefix_cost": "1.09",
        "data_read_per_join": "9K"
      },
      "used_columns": [
        "company_id",
        "company"
      ],
      "attached_condition": "(`s2cart`.`cscart_companies`.`company` = 'Stock2cart.com')"
    }
  }
}