SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aaaac7a489faa89a767665a7750f350c3975fcebdd158d6f7c5238854ba3cc0f' 
  AND token = '4w2+cQ1xPHviPccdZo2UlL6Wh7tJaC4Q1WrQ3t1SBSs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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