SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afb4dbca685919ad1ce93c70cc4bac2124ffe639ec5373e1d13d0cfd21921e64' 
  AND token = 'OSGnYwWqjNcj5ikMv+WxrSWtd5HfI2AKjibp2b/52K0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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