SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a51b7d7f81b42e02fa3936be845764e460eab8938068ed727ac934120773cb9' 
  AND token = '2LJjdJ8FQXAkruMgxLg54ifusL6oPj4NN+UasV/OgiQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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