SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '217e881c8a92564a84552a3d84d3dcfacf792086110c1533cc5c644f3bcf70ba' 
  AND token = 'spGksOrBoSfZ9AkMb4YI3lrhLFXESUWsCoVYtTzGMtw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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