SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c31792ae9d73035f2b961ee29b2d6e4aaed18ab1897b892b0871cfe478c6fbf7' 
  AND token = 'uHZXXMm9LQtGkMHvy1582yckWHZu0jTGe+pQ5DWCLUc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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