SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '54ecf249495f6b0fe4e18535434b914423482f3bcab9983ae60f65e861917378' 
  AND token = 'QMULZ7fCuK/ttWjzFfFrmHPxJZ5mi1eAAyaagVcAQR8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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