SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '14538471dfca840741a529656f97d2d03e6a9249ddfcd9631a557406d677d439' 
  AND token = 'xvvZdd7/pNAlcUuZVpRjBdOk7bPLtBGO8QcAzypESo0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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