SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d963a40a04c0a64b979d1bb55500246d0bf6270fa4ab1df83c6da96c214dd1c' 
  AND token = 'ERjNNDrbXnklxkXmpNVskpBLIFVnxS+4UNQT8hCMoMk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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