SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '526f049cda4853faecd161b5954a3fa161496d2d8c152524f924de462842fb51' 
  AND token = 'AiX3uMNZvAoJ1ieR3UygEnwTakQ9oKlw0+XPgoKzXCA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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