SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '718e02c2c66d225f6d431dafaa102fc3d5668cc63e2d0fe426f49c8611978b6f' 
  AND token = 'yvtk5/D7BICDMB07kSea9XYUP+sXwPtBFEETUtulz0M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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