SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5c2e9502ec9c7824c58c5242279a6589c515cd833b3d2ee0e2990e482b4fb7b' 
  AND token = 'RcC6ncnbm89f8LEXMysSJ13dUypwT0S3ZQozadz0Bu8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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