SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec1de594ce03305e26414d06bdd648d781618c28e607f54ff9404396e0eb489a' 
  AND token = 'a5KP3Oc7ZTEdc0HV9X+prW5x67509eCb0iP4IsT3I+4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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