SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c63604e3897e483aa750dda64c11b34ca268bc277168e6f8a8d30f64695b2c5c' 
  AND token = '6KqDePSUwh2yXX7M0FJa+TwZoBOtrDsjuAg33OXCE1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}