SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d2dc9f31528944b0ade1b0eace32be7b43a418817ace781edb174a28010c06f' 
  AND token = 'xB6fXkqPCRroL906QSru22ZIwuS3sWC30QuSsER98SU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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