SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e8a592230de8732d49931d20535d214b6f316ded962953127884d38f00621afd' 
  AND token = 'cPxSUkOVGKI6D8wcunRD/o+egBaMXUa+cBTdL3I4V4I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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