SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5a1699963c5b34c4f96e24a57e38f8a4052d3e589102562267a941cc1d0af170' 
  AND token = 'njxaIljjzo6bOMJfvU1dxKyuXIQRF/FO99KU8K3zl1g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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