SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2ec6b86a4c19430d2606950ae6b076e9faeda3367ea62091687b7e25a5f14239' 
  AND token = 'KEkdyobQDHbs8AOKoK8EUuMh0nOyWz3E+qJtPL9/u9A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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