SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ed2db72421bd57a50c17671b9497c20c9ac60dace54636c2caf5b34f843afa4' 
  AND token = 'f2JFAGjyVonluuDE8dIlM2ygDXUwLTEAeWHgKSVM4F0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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