SELECT 
  company_id 
FROM 
  q_companies 
WHERE 
  1 
  AND company = 'Qazaan'

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.36"
    },
    "table": {
      "table_name": "q_companies",
      "access_type": "ALL",
      "rows_examined_per_scan": 49,
      "rows_produced_per_join": 4,
      "filtered": "10.00",
      "cost_info": {
        "read_cost": "15.38",
        "eval_cost": "0.98",
        "prefix_cost": "16.36",
        "data_read_per_join": "27K"
      },
      "used_columns": [
        "company_id",
        "company"
      ],
      "attached_condition": "(`portal`.`q_companies`.`company` = 'Qazaan')"
    }
  }
}