SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2189f7d8a89d0f253ccde041c610302be05309e2522fa738a07e0a4bda28bc9d' 
  AND token = '5dWDfcAUF1lLf4wYN/llm02As5TuyLAxj3PqTH1YggE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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